package com.zkyc.framework.common.pojo;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (SystemUserRefRole)实体类
 *
 * @author libingchuan
 * @since 2022-06-01 10:02:17
 */
@TableName("system_user_ref_role")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserRefRole implements Serializable {
    private static final long serialVersionUID = -37477279892500794L;
    /**
     * 用户网站关联id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     * 关联时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date gmtCreated;



}

